<!--
 * @Author: your name
 * @Date: 2020-03-02 22:36:30
 * @LastEditTime: 2020-08-03 13:35:58
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \03PcWeb\src\views\exam\seePage.vue
 -->
<template>
<!--模拟公式解析-->
  <div class="seePage" id="question-id">
    <div>
      $\alpha+\beta=\gamma$

$$\alpha+\beta=\gamma$$

$$\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}$$

    </div>
    <div>$\alpha+\beta=\gamma$</div>
    <div>$$\alpha+\beta=\gamma$$</div>
    <div>$$\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}\int_{0}^{1}f(x)dx \sum_{1}^{2}$$</div>
    <div>向下平移{{test1}}个单位长度 </div>
    <div v-html="test1"></div>
    <div v-html="test2"></div>
    <div>=============================</div>
    <div v-html="test4"></div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      test1: "<math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfrac><mml:mrow><mml:mi mathvariant=\"normal\">π</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:mfrac></mml:math></math>",
      test2: "<p style=\"line-height:1.5;\">因为y=1-sin<span style=\"font-family: Times New Roman\"><sup>2</sup></span><span style=\"font-family: Times New Roman\">x-sin x=</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:msup><mml:mrow><mml:mtext>-</mml:mtext><mml:mfenced separators=\"|\"><mml:mrow><mml:mi mathvariant=\"normal\">s</mml:mi><mml:mi mathvariant=\"normal\">i</mml:mi><mml:mi mathvariant=\"normal\">n</mml:mi><mml:mi mathvariant=\"normal\">x</mml:mi><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></math><span style=\"font-family: Times New Roman\">+</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfrac><mml:mrow><mml:mn>5</mml:mn></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:math></math><span style=\"font-family: Times New Roman\">,且sin x∈[-1,1],</span></p><p style=\"line-height:1.5;\"><span style=\"font-family: Times New Roman\">所以当sin x=-</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac></mml:math></math><span style=\"font-family: Times New Roman\">时,y</span><span style=\"font-family: Times New Roman\"><sub>max</sub></span><span style=\"font-family: Times New Roman\">=</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfrac><mml:mrow><mml:mn>5</mml:mn></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:math></math><span style=\"font-family: Times New Roman\">;当sin x=1时,y</span><span style=\"font-family: Times New Roman\"><sub>min</sub></span><span style=\"font-family: Times New Roman\">=-1.</span></p>",
      test3: "<p style=\"line-height:1.5;\">f<math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfenced separators=\"|\"><mml:mrow><mml:mtext>-</mml:mtext><mml:mfrac><mml:mrow><mml:mn>15</mml:mn><mml:mi mathvariant=\"normal\">π</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:math></math><span style=\"font-family: Times New Roman\">=f</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfenced separators=\"|\"><mml:mrow><mml:mtext>-</mml:mtext><mml:mfrac><mml:mrow><mml:mn>15</mml:mn><mml:mi mathvariant=\"normal\">π</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac><mml:mo>+</mml:mo><mml:mfrac><mml:mrow><mml:mn>3</mml:mn><mml:mi mathvariant=\"normal\">π</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac><mml:mo>×</mml:mo><mml:mn>3</mml:mn></mml:mrow></mml:mfenced></mml:math></math><span style=\"font-family: Times New Roman\">=f</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfenced separators=\"|\"><mml:mrow><mml:mfrac><mml:mrow><mml:mn>3</mml:mn><mml:mi mathvariant=\"normal\">π</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:mrow></mml:mfenced></mml:math></math><span style=\"font-family: Times New Roman\">=sin</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfrac><mml:mrow><mml:mn>3</mml:mn><mml:mi mathvariant=\"normal\">π</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:mfrac></mml:math></math><span style=\"font-family: Times New Roman\">=</span><math><?xml version=\"1.0\" encoding=\"UTF-16\"?><mml:math xmlns:mml=\"http://www.w3.org/1998/Math/MathML\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\"><mml:mfrac><mml:mrow><mml:msqrt><mml:mn>2</mml:mn></mml:msqrt></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:mfrac></mml:math></math><span style=\"font-family: Times New Roman\">.</span></p>",
      test4: "<math xmlns=\"http://www.w3.org/1998/Math/MathML\"><mtext>minimum at&#xA0;</mtext><mi>f</mi><mo>(</mo><mn>0</mn><mo>,</mo><mo>&#x22EF;</mo><mo>,</mo><mn>0</mn><mo>)</mo><mo>=</mo><mn>0</mn><mo>+</mo><mi>n</mi><mi>o</mi><mi>i</mi><mi>s</mi><mi>e</mi></math>",
    };
  },
  created() {},
  mounted() {
    this.$nextTick(function () { 
                    this.mathJaxVar.MathQueue("question-id");
                });
                setTimeout(() => {
        this.test2 = this.test3;
        this.$nextTick(function () { 
                    this.mathJaxVar.MathQueue("question-id");
                });
      }, 10000)
    
  },
  methods: {
  }
};
</script>
<style lang="scss" scoped>

</style>
